package com.dai.yygh.service;

import com.dai.yygh.model.user.UserInfo;
import com.dai.yygh.vo.user.LoginVo;
import com.dai.yygh.vo.user.UserAuthVo;

import java.util.Map;

public interface UserInfoService {

    /**
     * 会员登录
     * @param loginVo
     * @return
     */
    Map<String, Object> login(LoginVo loginVo);

    /**
     * 根据微信openid获取用户信息
     * @param openid
     * @return
     */
    UserInfo selectWxInfoOpenId(String openid);

    void userAuth(Long userId, UserAuthVo userAuthVo);

    UserInfo getById(Long userId);
}
